package com.legal.aid.app.service;

import com.legal.aid.app.domain.doc.NewsDoc;
import com.legal.aid.app.domain.vo.CommentVo;
import com.legal.aid.app.domain.vo.NewsVo;

import java.util.List;

public interface IAppNewsService {
    List<NewsVo> selectNewsList(NewsVo newsVo);

    NewsVo getNewsDetailByNewsId(String newsId);


    List<NewsVo> selectAttentionNewsVoList();

    List<NewsVo> selectTopNews();

    List<NewsDoc> searchNewsByKeyword(String keyword, int pageNum, int pageSize);

    int updateToEs();


    List<String> getSuggestions(String prefix);

    List<String> getNewsHotKeys();
}
